package com.zzz.demo.dao;

import com.ccpp.demo.entity.LearnResource;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author ZZZ
 * @version 1.0
 * @date 2018/9/19 019
 */
@Mapper
public interface LearnMapper {
    int add(LearnResource learnResouce);

    int update(LearnResource learnResouce);

    int deleteByIds(String[] ids);

    LearnResource queryLearnResourceById(Long id);

    List<LearnResource> queryLearnResourceList(Map<String, Object> params);

    List<LearnResource> getAll();
}
